projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
666e413
)
GtkWidget: Don't mix code and declarations
author
Timm Bäder
<mail@baedert.org>
Fri, 18 Dec 2015 14:54:46 +0000
(15:54 +0100)
committer
Timm Bäder
<mail@baedert.org>
Fri, 18 Dec 2015 15:08:22 +0000
(16:08 +0100)
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index f5893d715a551e917eafed7ee44e84334f2805f1..ff7dc0d59f196ced8c10add636ccda062b9313ed 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-12586,10
+12586,12
@@
list_devices (GtkWidget *widget,
GdkDeviceType device_type,
GList **result)
{
+ GList *devices;
+ GList *l;
+
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
-
GList *
devices = gdk_device_manager_list_devices (device_manager, device_type);
+ devices = gdk_device_manager_list_devices (device_manager, device_type);
G_GNUC_END_IGNORE_DEPRECATIONS;
- GList *l;
for (l = devices; l; l = l->next)
{